package com.xiake.consultsystem.mapper;

import com.xiake.consultsystem.pojo.po.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiake.consultsystem.pojo.vo.RecordVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mr.Chen
 * @since 2022-11-13
 */
public interface StudentMapper extends BaseMapper<Student> {

    //根据学生id查询当前学生的咨询记录
    List<RecordVo> getRecordByStudentId(Long studentId);
}
